Count Consecutive Zeroes in Python